package com.edu.service.impl;

import com.edu.service.BookService;
import org.springframework.stereotype.Service;

/**
 *  BookServiceImpl 被代理类
 */
@Service
public class BookServiceImpl implements BookService {
    @Override
    public void selectBook() {
        System.out.println("执行了书本的查询");
    }

    @Override
    public int addBook() {
        System.out.println("执行了书本的添加");
        return 1;
    }

    @Override
    public void deleteBook() {
        System.out.println("执行了书本的删除");
    }

    @Override
    public void updateBook() {
        System.out.println("执行了书本的修改");
    }

    @Override
    public void selectAllBook() {
        System.out.println("查询所有书");
    }


}
